package com.bupt.datacollect.data;

import lombok.Data;

import java.time.DateTimeException;
import java.util.Date;
@Data
public class  Packet{
    private Integer id;
    private Date time;
    private Integer meterId;
    private Float current;
    private Float voltage;
    private Float power;
    private Integer alertFirst;
    private Integer alertSecond;
    private Integer resetCount;
    private Integer validated;
    private Float energyConsumption;
    private String source;
}
